npm run build:prod

SRC=/cygdrive/e/Idea-Project/zhty/zhty-web/dist/
TARGET=codol@192.168.2.10:/usr/local/nginx/html/web

if [ -d "$SRC" ];then
  rsync -av --delete $SRC $TARGET
else
  echo "$SRC 不存在"
fi



